<include file="Public/header" title="积分卡列表" />

<div id="page-wrapper">
    <ol class="breadcrumb">
        <li class="breadcrumb-item">
          <a href="/admin.php">首页</a>
        </li>
        <li class="breadcrumb-item active">积分卡管理</li>
      </ol>
    <div class="row">
        <div class="col-lg-12">
            
        </div>
    </div>
    <div class="row">
        <div class="col-md-6">
            <a href="{:U('category/add')}" class="btn btn-success">添加积分卡</a>
        </div>
        <div class="col-md-6">
           
        </div>
    </div>
    <table class="table table-hover table-striped">
        <thead>
            <tr>
                <th>编号</th>
                <th>省份</th>
                <th>金额</th>
                <th>数量</th>
                <th>积分</th>
                <th>操作</th>
            </tr>
        </thead>
        <tbody>
        <foreach name="data" item="v">
            <tr>
                <td>{$v.id}</td>
                <td>{$v.province} </td>
                <td>{$v.money} </td>
                <td>{$v.sum_num}</td>
                <td>{$v.score}</td>

                <td> <a href="{:U('category/delete?id=')}{$v.id}" style="color:red;" onclick="javascript:return del('您真的确定要删除吗？\n\n删除后将不能恢复!');">删除</a></td>
            </tr>
        </foreach>
        </tbody>
    </table>
    {$page}
</div>


<include file="Public/footer" />